package org.edu.modules.noderes.dto;

import java.util.Arrays;
import java.util.List;
import org.edu.modules.resource.file.entity.VeFileFiles;
import org.edu.modules.resource.file.entity.VeFileImage;

public class NodeResDto
{
    private String[] cataName;
    private String[] cataid;
    private List<VeFileFiles> veFileFilesList;
    private List<VeFileImage> veFileImageList;

    public void setVeFileFilesList(List<VeFileFiles> veFileFilesList)
    {
        this.veFileFilesList = veFileFilesList;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;result = result * 59 + Arrays.deepHashCode(getCataName());result = result * 59 + Arrays.deepHashCode(getCataid());Object $veFileFilesList = getVeFileFilesList();result = result * 59 + ($veFileFilesList == null ? 43 : $veFileFilesList.hashCode());Object $veFileImageList = getVeFileImageList();result = result * 59 + ($veFileImageList == null ? 43 : $veFileImageList.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof NodeResDto;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof NodeResDto)) {
            return false;
        }
        NodeResDto other = (NodeResDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (!Arrays.deepEquals(getCataName(), other.getCataName())) {
            return false;
        }
        if (!Arrays.deepEquals(getCataid(), other.getCataid())) {
            return false;
        }
        Object this$veFileFilesList = getVeFileFilesList();Object other$veFileFilesList = other.getVeFileFilesList();
        if (this$veFileFilesList == null ? other$veFileFilesList != null : !this$veFileFilesList.equals(other$veFileFilesList)) {
            return false;
        }
        Object this$veFileImageList = getVeFileImageList();Object other$veFileImageList = other.getVeFileImageList();return this$veFileImageList == null ? other$veFileImageList == null : this$veFileImageList.equals(other$veFileImageList);
    }

    public void setCataName(String[] cataName)
    {
        this.cataName = cataName;
    }

    public void setCataid(String[] cataid)
    {
        this.cataid = cataid;
    }

    public String toString()
    {
        return "NodeResDto(cataName=" + Arrays.deepToString(getCataName()) + ", cataid=" + Arrays.deepToString(getCataid()) + ", veFileFilesList=" + getVeFileFilesList() + ", veFileImageList=" + getVeFileImageList() + ")";
    }

    public void setVeFileImageList(List<VeFileImage> veFileImageList)
    {
        this.veFileImageList = veFileImageList;
    }

    public String[] getCataName()
    {
        return this.cataName;
    }

    public String[] getCataid()
    {
        return this.cataid;
    }

    public List<VeFileFiles> getVeFileFilesList()
    {
        return this.veFileFilesList;
    }

    public List<VeFileImage> getVeFileImageList()
    {
        return this.veFileImageList;
    }
}
